﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BGCMS.Models.VaccinationLog>" %>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
            
            <div class="editor-field">
                <%: Html.HiddenFor(model => model.ChildID) %>
                <%: Html.ValidationMessageFor(model => model.ChildID) %>
            </div>

            <div class="editor-label">
                <label for="datepicker">Dagsetning</label>
            </div>
            <div class="editor-field">
                <input type="text" id="datepicker" name="datepicker" value="<%: Model.DateOfV.ToString("dd/MM/yyyy") %>" readonly="readonly"/>
            </div>
                        
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Disease) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Disease) %>
                <%: Html.ValidationMessageFor(model => model.Disease) %>
            </div>
            
            <p>
                <input type="submit" value="Skrá" />
            </p>

    <% } %>

 


